package com.baidu.cmsService.services;

import com.baidu.cmsCommes.pojo.Role;

import java.util.List;

/**
 * @Author: BSS
 * @create: 2020/6/18/15:14
 */
public interface RoleService {
    List<Role> roleList();

    List<String> getAllType();

    Boolean saveRole(Role role);

    Boolean deleteRole(Integer rid);

    Role selectById(Integer rid);

    Boolean updateRole(Role role);

    Boolean deleteUserRole(Integer rid);
}
